package util
{
	import mx.formatters.DateFormatter;
	import mx.utils.StringUtil;

	public class TimeFormatter
	{
		private static var df:DateFormatter=new DateFormatter();
		
		public static function parse(date:Date, formatString:String='YYYY-MM-DD JJ:NN:SS'):String
		{
			df.formatString=formatString;
			return df.format(date);
		}

	}
}